<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8"/>
    <title>java</title>
    <link rel="stylesheet" th:href="@{/css/myStyle.css}"/>
</head>
<body>
    <div class="n-head">
        <div class="g-doc f-cb">
            <div class="user">
                请<a href="/login">[登录]</a>
            </div>
            <ul class="nav">
                <li><a href="/">首页</a></li>
            </ul>
        </div>
    </div>
    <div class="g-doc">
        <div class="n-show f-cb" id="showContent">
            <div class="img">
                <img id="img" th:src="@{${commodity.picUrl}}" onerror="javascript:this.src = '/image/NoPic.png';" alt="" >
            </div>
            <div class="cnt">
                <h2 th:text="${commodity.title}">Java编程思想（第4版）</h2>
                <p class="summary" th:text="${commodity.summary}">2222</p>
                <div class="price">
                    <span class="v-unit">¥</span>
                    <span class="v-value" th:text="${commodity.price}">1000</span>
                </div>
                <div class="num">

                </div>
                <div class="oprt f-cb">
                </div>
            </div>
        </div>
        <div class="m-tab m-tab-fw m-tab-simple f-cb">
            <h2>详细信息</h2>
        </div>
        <div class="n-detail" id="detail" th:text="${commodity.description}">
            啥也不是
        </div>
    </div>
    <div class="n-foot">
        <p>
            杭研有数：陈佳——在校作业
        </p>
    </div>


</body>
</html>